package com.med.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @BelongsProject: internet-based-healthcare
 * @BelongsPackage: com.med.vo
 * @Author: 小吴
 * @CreateTime: 2025-08-16 14:13
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageVO {
    private Integer customerId; // 当前客户ID
    private String sender; // "agent"（客服）或 "customer"（客户）
    private String receiverName; //接收这名字
    private String content; // 消息内容
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp messageTime; // 消息时间


}
